Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need some help #36

Open
jgauntz opened this issue Oct 20, 2021 · 2 comments
Open

Need some help #36

jgauntz opened this issue Oct 20, 2021 · 2 comments

Comments

@jgauntz
Copy link

jgauntz commented Oct 20, 2021

Trying to use the Javascript library as client side javascript and using the example:

var OAuth = require('@zalando/oauth2-client-js');
var google = new OAuth.Provider({
id: 'google', // required
authorization_url: 'https://google.com/auth' // required
});

But you cannot use require on client side javascript - am I missing something?

@rakeshgandham
Copy link

I am seeing similar issue. @jgauntz Were you able to find the solution?

@VerscheldeAlynne
Copy link

look up the react framework

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants