Comments (2)
Currently not, the initial request for the token must have a grant_type
parameter of client_credentials
: https://developer.spotify.com/web-api/authorization-guide/#client-credentials-flow
Right now the auth type is hardcoded to use authorization flow: https://github.com/jsncmgs1/spotify_ex/blob/master/lib/spotify/authentication.ex#L106
Another config setting could be introduced to allow specifying which flow you'd like to use, or you could make the initial token request manually and use the library from there.
from spotify_ex.
from spotify_ex.
Related Issues (20)
- Clean up typos in README
- Add tracks to playlist via body HOT 5
- Authentication does not fail transparently when client secret is wrong HOT 1
- Update README to reflect supported auth types
- Add support for Player API after beta phase HOT 3
- Expired token error comes with :ok atom HOT 9
- {BUG} Error when calling artists_I_follow/2 HOT 1
- Add Module docs for some modules
- Add support for Library API HOT 3
- Add support for current version (1.0.0) of httpoison HOT 2
- Refactor test directory & naming conventions HOT 3
- Spotify.Cookies.set_cookies indirectly halts redirects HOT 1
- Consider not raising an error on denied access
- handle expired access tokens HOT 2
- Release 2.0.10 to update deps HOT 2
- Change master branch name to main
- Can I use this library to also authenticate the user in my app
- mix docs results in ArgumentError HOT 1
- {BUG} Error for function get_recently_played
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 spotify_ex.