Comments (3)
I am divided on this. As I mention in step 6, I have actually put endpoint.php
in the same folder as Selfauth. This would not work with index.php
.
Not sure what the best default case is.
from php-mintoken.
I considered this before making the suggestion. If you're manually copying the file into a different directory, then renaming the file in the process of copying it does not add much burden. Unless the directory into which you copy it is not version controlled, AND that directory has an index.php, AND you accidentally forget to change the name, then there's not much risk here. If a user copies this index.php over a different index.php, well ... I hope they have backups!
I'd love to have this live in the same directory as selfauth, but I do not want to manually copy files around. If this file were migrated to the selfauth repo (and, perhaps, named token.php
), it would make this all a bit easier (for me).
Feel free to close this issue if you wish. It's not a big deal to me either way.
from php-mintoken.
After a good night of thinking, I might be coming around to this.
I was looking at possibly streamlining the installation through composer (composer create-project
), and that too always wants to install into an empty folder. Much like git.
If all the tooling people are likely to use are creating new folders, I may as well rename it index.
from php-mintoken.
Related Issues (10)
- Solve timing attacks against the tokens HOT 1
- INPUT_SERVER is not available on some PHP configurations
- Absence of GET param seems to break Mintoken HOT 1
- Store only hashed tokens HOT 2
- README clarifications
- How should a token endpoint respond to invalid requests?
- How should a token endpoint respond when Authorization Code Verification gives an empty scope?
- Pass along errors from Authorization Code Verification
- Explore possibility to be database agnostic HOT 2
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 php-mintoken.