We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f20e5a + 956cd9a commit f1f60bfCopy full SHA for f1f60bf
README.md
@@ -34,7 +34,7 @@ dependencies:
34
```crystal
35
require "multi_auth"
36
37
- MultiAuth.config("github", ENV['ID'], ENV['SECRET']) # configuration
+ MultiAuth.config("github", ENV["ID"], ENV["SECRET"]) # configuration
38
39
multi_auth = MultiAuth.make(provider, redirect_uri) # initialize engine
40
multi_auth.authorize_uri # URL to provider authentication dialog
@@ -106,7 +106,7 @@ end
106
class OAuth::Handler::Callback < BrowserAction
107
get "/oauth/:provider/callback" do
108
user = MultiAuthHandler.user(provider, request.query_params)
109
- text user.email.to_s
+ plain_text user.email.to_s
110
end
111
112
```
0 commit comments