swdev1
May 27, 2019, 8:37pm
#1
Hi, I have some straightforward rules that work for sure (I tried making /oauth/token
request).
But when I log in with auth-js@9 they are not triggered (token payload is not modified). Code used:
const auth = new WebAuth({
domain: VARS.AUTH_DOMAIN,
clientID: VARS.AUTH_CLIENT_ID,
redirectUri: VARS.AUTH_CALLBACK_URL,
responseType: VARS.AUTH_RESPONSE_TYPE,
scope: VARS.AUTH_SCOPE
});
function login(email, password) {
const options = {
username: email,
password
};
return new Promise(resolve => {
auth.login(options, ....
Let me reach out to auth0.js tool maintainer to get some guidance on this one!
swdev1
May 28, 2019, 11:55am
#4
I noticed that auth0-js makes a request to /co/authenticate
instead of /oauth/token
, maybe it can help.
I reached out to the repo maintainers some time ago, should have an answer soon!
Got one more request. Can you record a HAR file for me capturing the whole process and then send it to me via private message?
Here’s how to do it:
Friendly ping Have you had a chance to snag me a har file in your free time?
swdev1
May 30, 2019, 8:48pm
#8
Hmm, I’ve sent. Didn’t you receive it?
Got it! Must have missed it! Let me investigate them and get back to you shortly!
Hey there!
Terribly sorry for such delay with response. I just shoot you a DM. Thank you a lot for checking it once you have some time!