question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for spontaneous scopes

See original GitHub issue

There is a requirement for payments to send a transaction id as part of the scope. For example: pis:4685456787 (where 4685456787 is the id of a certain resource) or sign:MmU5OTc1ODU0ODk3MmE4ZTg4MjJhZDQ3ZmExMDE3ZmY3MmYwNmYzZmY2YTAxNjg1MWY0NWMzOTg3MzJiYzUwYw==,RXhhbXBsZSBDb250cmFjdA==

Where the first parameter has a base64url encoded has value, second parameter after, is a label of the document to be signed.

The client should be configured to accept “spontaneous scopes”–as normally any non-registered scope should be rejected.

We also need to add a “spontaneous scope interception script”, and map this script in the client configuration.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
yuriyzcommented, Nov 19, 2018

It is good idea to design it while we are re-factoring scope handling within this ticket https://github.com/GluuFederation/oxAuth/issues/756.

0reactions
yuriyzcommented, Jul 14, 2020

I’ve checked it on latest 4.2. It perfectly works. Changes are saved (LDAP reflects changes as well as UI).

Read more comments on GitHub >

github_iconTop Results From Across the Web

OAuth Spontaneous scope and API Security - Gluu Server
From version 4.2, Gluu Server supports OAuth2 spontaneous scopes. ... the APIs using OAuth token and check spontaneous scope to authorize the request....
Read more >
Support Spontaneous Scopes for UMA 2 #1133 - GitHub
We can solve it with #839. In this case we don't need 1 000 000 scopes. We can enable Spontaneous scope for given...
Read more >
7.1: Absorption, Spontaneous Emission, Stimulated Emission
Spontaneous emission is an energy conversion process in which an excited electron or molecule decays to an available lower energy level and in ......
Read more >
What Are Scopes and How Do They Relate to Claims? | Curity
A scope is simply a grouping of claims, although the name sometimes lends itself to other interpretations. You can think of claims as...
Read more >
Low-pressure support vs automatic tube compensation during ...
During spontaneous breathing trial, low-pressure support is thought ... Scope mode displays over time the tidal volume (black dashed line), ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found