Comments (2)
You have to use namespacing to add attributes to the id_token. Using the Authorization Extension rule, I had to make this change:
context.idToken['https://mycompany.com'] = {
groups: user.groups,
roles: user.roles,
permissions: user.permissions
};
I'm still trying to figure out how the OIDC compliant documentation about adding permissions into the "scopes" part of the request is supposed to work.
from rules.
same here. did you figure it out?
from rules.
Related Issues (20)
- Yubico-MFA doesn't receive OTP code HOT 2
- Linting rules HOT 1
- User properties when changing `context.primaryUser`
- redirect-rules/simple - error: unable to resolve jtn to webtask token HOT 1
- How to write unit tests for Auth0 rules HOT 3
- How to use replyWithError with return reject using nock? HOT 1
- Bug: Highlighted rules links in README are broken
- Can I Require? HOT 3
- Link account w/ metadata merge can cause loss of primary user metadata
- Rules to link accounts by email are case-sensitive HOT 7
- Adding another query param when setting context.redirect.url HOT 1
- "Move user_metadata attributes to profile root attributes" rule title is invalid HOT 1
- Where does the auth0 object come from? HOT 1
- Pull rules from existing repositories HOT 2
- Silent authentication will keep triggering notifications for new users until their session expires
- Context.Authentication possibly undefinded HOT 2
- The Twitter get email address rule does not work with Oauh2 HOT 1
- Cannot get the test coverage report by the solution provided for adding test cases for rule scripts using jest.
- Auth0 rules not trigerring for ZAP on google-auth and discord login
- Rules to link accounts by email are case-sensitive #208
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules.